import {SongList,Song} from "../model/song"

export  const songList = () => { 
    return new Promise((resolve,reject) => { 
        let arr = [];
        arr.push(new SongList("Horry","《世界地球日》听万物语 为自然发声","/songlist/hot.jpg",1));
        arr.push(new SongList("QQ音乐直播","林肯公园：摇滚二十余年的新燥起来","/songlist/hot.jpg",2));
        arr.push(new SongList("霸戏","《世界地球日》听万物语 为自然发声","/songlist/hot2.jpg",3));
        arr.push(new SongList("Horry","《世界地球日》听万物语 为自然发声","/songlist/hot3.jpg",4));
        arr.push(new SongList("Horry","《世界地球日》听万物语 为自然发声","/songlist/hot4.jpg",5));
        resolve(arr)
  })
}


export const songListDetail = () => { 
  return new Promise((resolve,reject) => { 
      resolve(new SongList("Horry","《世界地球日》听万物语 为自然发声","/ablum/109951164230035760.jpg",2,
        new Song("王子公主","薛之谦","金曲榜","","",1),
        new Song("王子公主","薛之谦","金曲榜","","",2),
        new Song("王子公主","薛之谦","金曲榜","","",3),
        new Song("王子公主","薛之谦","金曲榜","","",4),
        new Song("王子公主","薛之谦","金曲榜","","",5),
        new Song("王子公主","薛之谦","金曲榜","","",6)
      ))
})
}